﻿using System;

namespace Shuba.Model
{
    [Serializable]
    public class HolidayInfo
    {
        public HolidayInfo()
        { 
        }

        /// <summary>
        /// Info holiday 
        /// </summary>
        public HolidayInfo(DateTime HOLIDAY_DATE, 
            string HOLIDAY_NAME, 
            string ENTRY_BY, 
            DateTime ENTRY_DATE,
            string UPDATE_BY,
            DateTime UPDATE_DATE,
            string IS_ACTIVE)
        {
            this.HOLIDAY_DATE = HOLIDAY_DATE;
            this.HOLIDAY_NAME = HOLIDAY_NAME;
            this.ENTRY_BY = ENTRY_BY;
            entry_date = ENTRY_DATE;
            this.UPDATE_BY = UPDATE_BY;
            update_date = UPDATE_DATE;
            this.IS_ACTIVE = IS_ACTIVE;
        }

        /// <summary>
        /// Info Holiday Tmp
        /// </summary>
        public HolidayInfo(DateTime HOLIDAY_DATE,
            string HOLIDAY_NAME,
            string ENTRY_BY,
            DateTime ENTRY_DATE,
            string UPDATE_BY,
            DateTime UPDATE_DATE,
            string IS_ACTIVE,
            string ACT_TYPE,
            DateTime HOLIDAY_DATE_ORIG)
        {
            this.HOLIDAY_DATE = HOLIDAY_DATE;
            this.HOLIDAY_NAME = HOLIDAY_NAME;
            this.ENTRY_BY = ENTRY_BY;
            entry_date = ENTRY_DATE;
            this.UPDATE_BY = UPDATE_BY;
            update_date = UPDATE_DATE;
            this.IS_ACTIVE = IS_ACTIVE;
            this.ACT_TYPE = ACT_TYPE;
            this.HOLIDAY_DATE_ORIG = HOLIDAY_DATE_ORIG;
        }

        public DateTime HOLIDAY_DATE { get; set; }        
        public string HOLIDAY_NAME { get; set; }
        
        public string ENTRY_BY { get; set; }

        public DateTime entry_date = DateTime.Now;
        public DateTime ENTRY_DATE 
        {
            get { return entry_date; }
            set { entry_date = value; }
        }

        public string UPDATE_BY { get; set; }

        public DateTime update_date = DateTime.Now;
        public DateTime UPDATE_DATE
        {
            get { return update_date; }
            set { update_date = value; }
        }

        public string ACT_TYPE { get; set; }
        public string IS_ACTIVE { get; set; }
        public DateTime HOLIDAY_DATE_ORIG { get; set; }
    }
}
